package kr.hkit.androidcomplete01.ch16;

import kr.hkit.androidcomplete01.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class CallAdd extends Activity {
	private static String TAG = "ActParent";
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
/*		setContentView(R.layout.ch17);
*/	}

	public void mOnClick(View v) {
		Intent intent = new Intent("andexam.ver4_1.ADD");
		intent.putExtra("left", 3);
		intent.putExtra("right", 4);
		startActivity(intent); 
	}

	@Override
	protected void onStart() {
		Log.i(TAG, TAG+"- onStart()");
		super.onStart();
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
	}

	@Override
	protected void onStop() {
		// TODO Auto-generated method stub
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		// TODO Auto-generated method stub
		super.onDestroy();
	}
	
	
}
